/**
 * StringBuilder is a mean to build a strnig char.
 *
 * @class StringBuilder
 * @version 1.1
 */
export declare class StringBuilder {
    private mLength;
    private mValue;
    private mCapacity;
    /**
     * Default constructor.
     *
     * Set capacity to define a maximum length of your string char.
     *
     * @param capacity Initial a maximum length of your string char.
     * @constructor StringBuilder
     */
    constructor(capacity?: number);
    /**
     * Build a StringBuilder object of your primitive array.
     *
     * @param array Your primitive array.
     * @type {StringBuilder}
     * @since 1.1
     */
    static fromArray(array: string[]): StringBuilder;
    /**
     * Get the current length of your string char.
     *
     * @returns Return the current length of your string char.
     * @type {number}
     * @since 1.0
     */
    length(): number;
    /**
     * Get the current capacity of your StringBuilder object.
     *
     * @returns Return the current maximum capacity, return -1 if the maximum capacity is not initialized.
     * @type {number}
     * @since 1.0
     */
    capacity(): number;
    /**
     * Append a value in the builder.
     *
     * @param value The value to be add.
     * @returns Return the current instance of StringBuilder.
     * @type {StringBuilder}
     * @since 1.0
     */
    append(value: any): StringBuilder;
    /**
     * Append a value at the specified position.
     *
     * @param index The indexing position.
     * @param value The value to be add.
     * @returns Return the current instance of StringBuilder.
     * @type {StringBuilder}
     * @since 1.0
     */
    appendAt(index: number, value: any): StringBuilder;
    /**
     * Delete a char by the indexing position.
     *
     * @param index The index corresponding to the position of char.
     * @returns Return the current instance of StringBuilder.
     * @type {StringBuilder}
     * @since 1.0
     */
    delete(index: number): StringBuilder;
    /**
     * Get the representation to string char format.
     *
     * @returns Return the string char.
     * @type {string}
     * @since 1.0
     */
    toString(): string;
    private appendString;
    private appendBoolean;
    private appendNumber;
    private appendNull;
    private isOf;
}
//# sourceMappingURL=StringBuilder.d.ts.map